import { Application } from "egg";
export default (app: Application) => {
    const { router , controller } = app ;
    router.post("/login", controller.global.login);
    router.post("/getStore", controller.global.getStore);
    router.post("/getCaptcha", controller.global.getCaptcha);
    // 登出需要校验是否有session，如果无则抛出错误
    router.post("/logout", controller.global.logout);
    router.post("/86C1CCFA-E79F-4815-89F0-A788558AEAA6", controller.global.gitUpdater);
};
